﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： GcChatMessageEntity.cs
// 项目名称：斑马车务
// 创建时间：2019/10/30
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
	/// <summary>
	///聊天信息数据实体  
	/// </summary>
    [PrimaryKey("MessageID")]
	public class GcChatMessage
	{
		///<summary>
		///聊天信息
		///</summary>
		public GcChatMessage()
		{
		}	
    
		
		///<summary>
		///
		///</summary>
        [Column("MessageID","")]
        public int MessageID { get; set; }

		///<summary>
		///
		///</summary>
        [Column("GroupID","")]
        public int GroupID { get; set; }

		///<summary>
		///
		///</summary>
        [Column("from_wxid","")]
        public string from_wxid { get; set; }

		///<summary>
		///接收者微信ID,应该群的wxid
		///</summary>
        [Column("to_wxid","接收者微信ID,应该群的wxid")]
        public string to_wxid { get; set; }

		///<summary>
		///
		///</summary>
        [Column("client_msgid","")]
        public string client_msgid { get; set; }

		///<summary>
		///信息类型   1:文本，2：图片，3：链接地址，4：语音，5：视频，100：加好友信息，
		///</summary>
        [Column("msg_type","信息类型   1:文本，2：图片，3：链接地址，4：语音，5：视频，100：加好友信息，")]
        public int msg_type { get; set; }

		///<summary>
		///
		///</summary>
        [Column("client_time","")]
        public DateTime client_time { get; set; }

		///<summary>
		///
		///</summary>
        [Column("CreatedTime","")]
        public DateTime CreatedTime { get; set; }

	}
}